import request from '@/utils/request'
// 查询分页列表信息
export const gettablelistapi = params => request.get('mbm-microservice-biz/mbm/apportionment/model/page', { params })
// 查询计量点列表
export const getjilianglistapi = params => request.get('mbm-microservice-biz/mbm/apportionment/model/getMeasuringPointListForApportionment', { params })
// 新增
export const postaddmoxingapi = data => request.post('mbm-microservice-biz/mbm/apportionment/model/add', data)
// 删除
export const delmoxingapi = data => request.post(`mbm-microservice-biz/mbm/apportionment/model/delete?id=${data.id}`)
// 根据分摊模型Id查询详情列表
export const getyonghubiaoapi = params => request.get('mbm-microservice-biz/mbm/apportionment/model/getDetailsById', { params })
// 修改
export const putjilianglistapi=data=>request.post('mbm-microservice-biz/mbm/apportionment/model/update',data)